/**
 * Opens link that has data-role of "new-tab" in new tab.
 * I am not using target="_blank" because it is invalid
 */

$(document).ready(function(){
    $('a[data-role="new-tab"]').click(function(){
        window.open($(this).attr('href'), '_blank');
        return false;
    });
});